package cn.yitun.chat.yitunservermanagecore.general.manage.common.service.impl;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudServiceImpl;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.userchat.UserHeadDataDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.userchat.UserHeadDataInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.userchat.UserHeadDataVo;
import cn.yitun.chat.yitunserverimbase.dao.userchat.UserHeadDataDao;
import cn.yitun.chat.yitunservermanagecore.general.manage.common.service.UserHeadDataService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


@Service
public class UserHeadDataServiceImpl
		extends CrudServiceImpl<UserHeadDataDao, UserHeadDataDto, UserHeadDataInfo, UserHeadDataVo>
		implements UserHeadDataService {

	@Override
    @Transactional
	public int save(UserHeadDataDto userHeadData){
		return dao.save(userHeadData);
	}
	
	@Override
    @Transactional
	public int update(UserHeadDataDto userHeadData){
		return dao.update(userHeadData);
	}
	

	@Override
    @Transactional
	public int absDel(Long id){
		return dao.absDel(id);
	}

	@Override
    @Transactional
	public int batchAbsDel(Long[] ids){
		return dao.batchAbsDel(ids);
	}

}
